package ruleengine.coordinator;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

import com.ruleengine.coordinator.SendWorkerClient;

import ruleengine.BaseTest;

/**
 * @author lianghanwei on 2024/3/22
 */
public class SendWorkerClientTest extends BaseTest {

    @Autowired
    private SendWorkerClient sendWorkerClient;

    @Test
    public void sendMessage() throws InterruptedException {
        sendWorkerClient.send(buildDemoMessage());

        Thread.sleep(2000);
    }
}
